package org.cqipc.edu.dao;

import org.apache.ibatis.annotations.Select;
import org.cqipc.edu.entity.Type3;

import java.util.List;

/**
 * @Description: 类别3数据接口
 * @ClassNmae: Tyoe3Dao
 * @Author: HeYue
 * @DateTime: 2020-11-01 05:58
 **/
public interface Type3Dao {

    @Select("select * from type3")
    List<Type3> queryAll();

    @Select("select * from type3 where type2_id=#{type2d}")
    List<Type3> queryBytype2d(Integer type2d);

    @Select("select * from type3 where type3_id=#{type3d}")
    Type3 queryBytype3d(Integer type3d);

}
